package gov.child.entities.vo;

import gov.child.entities.po.EGuide;
import gov.child.entities.vo.annotation.Alias;

import java.util.Date;

/**
 * @author fzh
 * @since 2017/9/14
 */
public class Guide {
    public static final Byte PERSONAL = 0;
    public static final Byte ENTERPRISE = 1;
    public static final Byte PERSONAL_ENTERPRISE = 2;
    public static final Guide EMPTY_GUIDE = new Guide();
    public static Guide parseFrom(EGuide guide){
        return BeanTransformer.transform(Guide.class, guide);
    }
    public static EGuide parseTo(Guide guide) {
        return BeanTransformer.transform(EGuide.class, guide);
    }
    @Alias("id")
    private Integer guideId;
    private String title;
    private String guideCode;
    private Integer deptP;
    private Integer deptC;
    private String addr;
    private Byte obj;
    private Byte hierarchy;
    private Integer promiseTimeLimit;
    private Integer charge;
    private String powerFrom;
    private String serviceSubject;
    private String complaintTel;
    private String resultFile;
    private String consultationTel;
    private String categories;
    private String notice;
    private String dealBasis;
    private String applicationCondition;
    private String material;
    private String flowChart;
    private String callSituation;
    private String callBasis;
    private Byte online;
    private Date createTime;

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Integer getGuideId() {
        return guideId;
    }

    public void setGuideId(Integer guideId) {
        this.guideId = guideId;
    }

    public String getGuideCode() {
        return guideCode;
    }

    public void setGuideCode(String guideCode) {
        this.guideCode = guideCode;
    }

    public Integer getDeptP() {
        return deptP;
    }

    public void setDeptP(Integer deptP) {
        this.deptP = deptP;
    }

    public Integer getDeptC() {
        return deptC;
    }

    public void setDeptC(Integer deptC) {
        this.deptC = deptC;
    }

    public String getAddr() {
        return addr;
    }

    public void setAddr(String addr) {
        this.addr = addr;
    }

    public Byte getObj() {
        return obj;
    }

    public void setObj(Byte obj) {
        this.obj = obj;
    }

    public Byte getHierarchy() {
        return hierarchy;
    }

    public void setHierarchy(Byte hierarchy) {
        this.hierarchy = hierarchy;
    }

    public Integer getPromiseTimeLimit() {
        return promiseTimeLimit;
    }

    public void setPromiseTimeLimit(Integer promiseTimeLimit) {
        this.promiseTimeLimit = promiseTimeLimit;
    }

    public Integer getCharge() {
        return charge;
    }

    public void setCharge(Integer charge) {
        this.charge = charge;
    }

    public String getPowerFrom() {
        return powerFrom;
    }

    public void setPowerFrom(String powerFrom) {
        this.powerFrom = powerFrom;
    }

    public String getServiceSubject() {
        return serviceSubject;
    }

    public void setServiceSubject(String serviceSubject) {
        this.serviceSubject = serviceSubject;
    }

    public String getComplaintTel() {
        return complaintTel;
    }

    public void setComplaintTel(String complaintTel) {
        this.complaintTel = complaintTel;
    }

    public String getResultFile() {
        return resultFile;
    }

    public void setResultFile(String resultFile) {
        this.resultFile = resultFile;
    }

    public String getConsultationTel() {
        return consultationTel;
    }

    public void setConsultationTel(String consultationTel) {
        this.consultationTel = consultationTel;
    }

    public String getCategories() {
        return categories;
    }

    public void setCategories(String categories) {
        this.categories = categories;
    }

    public String getNotice() {
        return notice;
    }

    public void setNotice(String notice) {
        this.notice = notice;
    }

    public String getDealBasis() {
        return dealBasis;
    }

    public void setDealBasis(String dealBasis) {
        this.dealBasis = dealBasis;
    }

    public String getApplicationCondition() {
        return applicationCondition;
    }

    public void setApplicationCondition(String applicationCondition) {
        this.applicationCondition = applicationCondition;
    }

    public String getMaterial() {
        return material;
    }

    public void setMaterial(String material) {
        this.material = material;
    }

    public String getFlowChart() {
        return flowChart;
    }

    public void setFlowChart(String flowChart) {
        this.flowChart = flowChart;
    }

    public String getCallSituation() {
        return callSituation;
    }

    public void setCallSituation(String callSituation) {
        this.callSituation = callSituation;
    }

    public String getCallBasis() {
        return callBasis;
    }

    public void setCallBasis(String callBasis) {
        this.callBasis = callBasis;
    }

    public Byte getOnline() {
        return online;
    }

    public void setOnline(Byte online) {
        this.online = online;
    }

    @Override
    public String toString() {
        return "Guide{" +
                "guideId=" + guideId +
                ", guideCode='" + guideCode + '\'' +
                ", deptP=" + deptP +
                ", deptC=" + deptC +
                ", addr='" + addr + '\'' +
                ", obj=" + obj +
                ", hierarchy=" + hierarchy +
                ", promiseTimeLimit=" + promiseTimeLimit +
                ", charge=" + charge +
                ", powerFrom='" + powerFrom + '\'' +
                ", serviceSubject='" + serviceSubject + '\'' +
                ", complaintTel='" + complaintTel + '\'' +
                ", resultFile='" + resultFile + '\'' +
                ", consultationTel='" + consultationTel + '\'' +
                ", categories='" + categories + '\'' +
                ", notice='" + notice + '\'' +
                ", dealBasis='" + dealBasis + '\'' +
                ", applicationCondition='" + applicationCondition + '\'' +
                ", material='" + material + '\'' +
                ", flowChart='" + flowChart + '\'' +
                ", callSituation='" + callSituation + '\'' +
                ", callBasis='" + callBasis + '\'' +
                ", online=" + online +
                ", createTime=" + createTime +
                '}';
    }
}
